<?php /* Smarty version 2.6.26, created on 2014-10-26 22:03:05
         compiled from login.html */ ?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>后台管理登录</title>
<link rel="stylesheet" href="<?php echo @__VIEW__; ?>
/Login/login.css"> 
<script type="text/javascript" src="<?php echo @__VIEW__; ?>
/Login/jquery.js"></script>
</head>
<body>
	<div id="box">
		<div class="top">
			夏叔叔--菜鸟博客系统
		</div>
		<!-- 图标 -->
		<div id="user"></div>
		<div id="password"></div>
		<div id="code"></div>

		<form action="" method="post">
			<table  class="tab">
				<tr>
					<td class="td1">用户名</td>
					<td class="td2">
						<input  type="text" name="username" class="input_text js">
					</td>
				</tr>
				<tr>
					<td class="td1">密&nbsp;&nbsp;&nbsp;&nbsp;码</td>
					<td class="td2">
						<input  type="password" name="password" class="pass js">
					</td>
				</tr>
				<tr>
					<td class="td1">验证码</td>
					<td class="td2">
						<input   type="text" maxlength="4" size="4"  class="yzm js" name="code">		
						<img src='?m=Admin&c=Login&a=code&_"+Math.random()' onclick='on()' id="yzm" class="code">
					<!-- 	onclick='this.src="?m=Admin&c=Login&a=code&_"+Math.random()' id="yzm" class="code"> -->
						<span id="huan" onclick="on()">换一张</span>
					</td>
				</tr>
			</table>
			<input type="submit" value="" class="sub">
			<input type="reset" class="reset" value="重填">
		</form>
	</div>
<script type="text/javascript">
	// 验证码切换效果
	function on(){
		var src=document.getElementById('yzm');
		src.src+='?m=Admin&c=Login&a=code&_"+Math.random()';
	}
	// 给input加边框
$(function(){
	$(".js").hover(function() {
		$(this).css({'border':'solid 1px #34BFFA'});
	}, function(){
		$(this).css({'border':''});
	});
})	
</script>

</body>
</html>